Last active
May 20, 2024 02:27
-
-
Save torgeros/9f5367eee1ac8d0d0c044e9403a12d38 to your computer and use it in GitHub Desktop.
surface-linux IPTSD Config for Surface Pro 5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# modified from original file by @torgeros | |
# config file is located in /etc/iptsd.conf | |
[Config] | |
## | |
## The following values are device specific and will be loaded from /usr/share/iptsd | |
## Only set them if you need to provide custom values for new devices that are not yet supported | |
## | |
# InvertX = false | |
# InvertY = false | |
# Width = 0 | |
# Height = 0 | |
TouchThreshold = 50 | |
StabilityThreshold = 0.55 | |
[Touch] | |
## | |
## Mark contacts around the stylus as palms. | |
## | |
# CheckCone = true | |
## | |
## Skip contacts that are not marked as stable. | |
## Contacts are unstable if their size or position is changing rapidly. | |
## | |
CheckStability = true | |
## | |
## Ignore all touch inputs if a palm was registered on the display. | |
## | |
# DisableOnPalm = false | |
## | |
## Ignore all touch inputs if a stylus is in proximity. | |
## | |
# DisableOnStylus = false | |
[Contacts] | |
## | |
## The blob detection method that will be used. | |
## Basic should give a good overall experience. | |
## Advanced might offer better finger detection, but will use vastly more resources. | |
## | |
# Detection = basic | |
## | |
## The temporal window for determining temporal stability of a contact. | |
## A contact that has not been active for the specified amount of frames is skipped. | |
## | |
TemporalWindow = 5 | |
## | |
## The minimal diameter a contact must have. | |
## | |
SizeMin = 0.3 | |
## | |
## The maximal diameter a contact can have. | |
## | |
# SizeMax = 2.0 | |
## | |
## The minimal aspect ratio a contact must have. | |
## | |
# AspectMin = 1.0 | |
## | |
## The maximal aspect ratio a contact can have. | |
## | |
# AspectMax = 2.5 | |
## | |
## How many centimeters a contact can increase in size to be considered stable. | |
## | |
# SizeThreshold = 0.1 | |
## | |
## How many centimeters a contact must move before the movement is considered stable. | |
## Movements below this threshold are ignored. | |
## | |
# PositionThresholdMin = 0.2 | |
## | |
## How many centimeters a contact can move before the movement is considered unstable. | |
## Movements above this threshold are ignored. | |
## | |
# PositionThresholdMax = 2 | |
## | |
## How many centimeters a contact has to be away from a palm to not get marked as a palm too. | |
## | |
# DistanceThreshold = 1 | |
[Cone] | |
## | |
## The wideness of the cone in degrees. | |
## | |
# Angle = 30 | |
## | |
## How many centimeters a contact must be away from the stylus to not get blocked. | |
## | |
# Distance = 5 | |
[DFT] | |
# PositionMinAmp = 50 | |
# PositionMinMag = 2000 | |
# PositionExp = -0.7 | |
# ButtonMinMag = 1000 | |
# FreqMinMag = 10000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment